<!DOCTYPE html>
<html lang=zh>
<head>
    <!-- so meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="HandheldFriendly" content="True">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="description" content="由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。">
<meta property="og:type" content="article">
<meta property="og:title" content="Git操作命令集锦">
<meta property="og:url" content="http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/index.html">
<meta property="og:site_name" content="Sampson&#39;s blog">
<meta property="og:description" content="由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2017-08-18T07:41:18.000Z">
<meta property="article:modified_time" content="2020-06-03T01:25:42.468Z">
<meta property="article:author" content="Sampson.Z">
<meta property="article:tag" content="DevOps">
<meta property="article:tag" content="Git">
<meta property="article:tag" content="PDF">
<meta name="twitter:card" content="summary">
    
    
        
          
              <link rel="shortcut icon" href="/images/favicon.ico">
          
        
        
          
            <link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
          
        
        
          
            <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
          
        
    
    <!-- title -->
    <title>Git操作命令集锦</title>
    <!-- styles -->
    
<link rel="stylesheet" href="/css/style.css">

    <!-- persian styles -->
    
      
<link rel="stylesheet" href="/css/rtl.css">

    
    <!-- rss -->
    
    
<meta name="generator" content="Hexo 4.2.1"><link rel="alternate" href="/atom.xml" title="Sampson's blog" type="application/atom+xml">
</head>

<body class="max-width mx-auto px3 ltr">
    
      <div id="header-post">
  <a id="menu-icon" href="#"><i class="fas fa-bars fa-lg"></i></a>
  <a id="menu-icon-tablet" href="#"><i class="fas fa-bars fa-lg"></i></a>
  <a id="top-icon-tablet" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'fast');" style="display:none;"><i class="fas fa-chevron-up fa-lg"></i></a>
  <span id="menu">
    <span id="nav">
      <ul>
         
          <li><a href="/">首页</a></li>
         
          <li><a href="/about/">关于</a></li>
         
          <li><a href="/archives/">归档</a></li>
         
          <li><a href="/projects-url">项目</a></li>
         
          <li><a href="/search/">搜索</a></li>
         
          <li><a href="/tags/">标签</a></li>
         
          <li><a href="/categories/">分类</a></li>
        
      </ul>
    </span>
    <br/>
    <span id="actions">
      <ul>
        
        <li><a class="icon" href="/2017/08/18/Django%E5%85%A5%E9%97%A8-2-%E6%96%B0%E5%BB%BAdjango%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%BA%94%E7%94%A8/"><i class="fas fa-chevron-left" aria-hidden="true" onmouseover="$('#i-prev').toggle();" onmouseout="$('#i-prev').toggle();"></i></a></li>
        
        
        <li><a class="icon" href="/2017/08/18/Django%E5%85%A5%E9%97%A8/"><i class="fas fa-chevron-right" aria-hidden="true" onmouseover="$('#i-next').toggle();" onmouseout="$('#i-next').toggle();"></i></a></li>
        
        <li><a class="icon" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'fast');"><i class="fas fa-chevron-up" aria-hidden="true" onmouseover="$('#i-top').toggle();" onmouseout="$('#i-top').toggle();"></i></a></li>
        <li><a class="icon" href="#"><i class="fas fa-share-alt" aria-hidden="true" onmouseover="$('#i-share').toggle();" onmouseout="$('#i-share').toggle();" onclick="$('#share').toggle();return false;"></i></a></li>
      </ul>
      <span id="i-prev" class="info" style="display:none;">上一篇</span>
      <span id="i-next" class="info" style="display:none;">下一篇</span>
      <span id="i-top" class="info" style="display:none;">返回顶部</span>
      <span id="i-share" class="info" style="display:none;">分享文章</span>
    </span>
    <br/>
    <div id="share" style="display: none">
      <ul>
  <li><a class="icon" href="http://www.facebook.com/sharer.php?u=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/" target="_blank" rel="noopener"><i class="fab fa-facebook " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://twitter.com/share?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&text=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-twitter " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.linkedin.com/shareArticle?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-linkedin " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://pinterest.com/pin/create/bookmarklet/?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&is_video=false&description=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-pinterest " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="mailto:?subject=Git操作命令集锦&body=Check out this article: http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/"><i class="fas fa-envelope " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://getpocket.com/save?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-get-pocket " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://reddit.com/submit?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-reddit " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.stumbleupon.com/submit?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-stumbleupon " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://digg.com/submit?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-digg " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.tumblr.com/share/link?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&name=Git操作命令集锦&description=" target="_blank" rel="noopener"><i class="fab fa-tumblr " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://news.ycombinator.com/submitlink?u=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&t=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-hacker-news " aria-hidden="true"></i></a></li>
</ul>

    </div>
    <div id="toc">
      <ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。"><span class="toc-number">1.</span> <span class="toc-text">由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。</span></a></li></ol>
    </div>
  </span>
</div>

    
    <div class="content index py4">
        
        <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
  <header>
    
    <h1 class="posttitle" itemprop="name headline">
        Git操作命令集锦
    </h1>



    <div class="meta">
      <span class="author" itemprop="author" itemscope itemtype="http://schema.org/Person">
        <span itemprop="name">Sampson's blog</span>
      </span>
      
    <div class="postdate">
      
        <time datetime="2017-08-18T07:41:18.000Z" itemprop="datePublished">2017-08-18</time>
        
      
    </div>


      
    <div class="article-category">
        <i class="fas fa-archive"></i>
        <a class="category-link" href="/categories/Git/">Git</a>
    </div>


      
    <div class="article-tag">
        <i class="fas fa-tag"></i>
        <a class="tag-link" href="/tags/DevOps/" rel="tag">DevOps</a>, <a class="tag-link" href="/tags/Git/" rel="tag">Git</a>, <a class="tag-link" href="/tags/PDF/" rel="tag">PDF</a>
    </div>


    </div>
  </header>
  

  <div class="content" itemprop="articleBody">
    <h3 id="由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。"><a href="#由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。" class="headerlink" title="由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。"></a>由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。</h3>

	<div class="row">
    <embed src="/pdf/git-cheatsheet.pdf" width="100%" height="550" type="application/pdf">
	</div>





  </div>
</article>












		<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
		<script src='//unpkg.com/valine/dist/Valine.min.js'></script>
		<!--<script src="//cdn.jsdelivr.net/npm/leancloud-storage@latest/dist/av-min.js"></script>
    <script src='//cdn.jsdelivr.net/npm/valine@latest/dist/Valine.min.js'></script>-->
	<div id="vcomments"></div>
	<script>
		var notify = false == true ? true : false;
		var verify = false == true ? true : false;
		var visitor = true == true ? true : false;
  new Valine({
      el: '#vcomments',
				notify: notify,
				verify: verify,
    	app_id: 'MyX4PiXsizWYy8EuLEFEE05g-MdYXbMMI',
      app_key: 'rvmEQ2Sd345um4vPgXbnKbje',
			lang: 'en',
			placeholder: 'ヾﾉ≧∀≦)o快来评论一下吧!',
			avatar: 'monsterid',
			pageSize: 10,
			visitor: visitor
        });
    </script>






        
          <div id="footer-post-container">
  <div id="footer-post">

    <div id="nav-footer" style="display: none">
      <ul>
         
          <li><a href="/">首页</a></li>
         
          <li><a href="/about/">关于</a></li>
         
          <li><a href="/archives/">归档</a></li>
         
          <li><a href="/projects-url">项目</a></li>
         
          <li><a href="/search/">搜索</a></li>
         
          <li><a href="/tags/">标签</a></li>
         
          <li><a href="/categories/">分类</a></li>
        
      </ul>
    </div>

    <div id="toc-footer" style="display: none">
      <ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。"><span class="toc-number">1.</span> <span class="toc-text">由外国人提供的PDF命令集锦，真正使用的Git命令也就那么10多个，熟练运用即可。</span></a></li></ol>
    </div>

    <div id="share-footer" style="display: none">
      <ul>
  <li><a class="icon" href="http://www.facebook.com/sharer.php?u=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/" target="_blank" rel="noopener"><i class="fab fa-facebook fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://twitter.com/share?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&text=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.linkedin.com/shareArticle?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-linkedin fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://pinterest.com/pin/create/bookmarklet/?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&is_video=false&description=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-pinterest fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="mailto:?subject=Git操作命令集锦&body=Check out this article: http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/"><i class="fas fa-envelope fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://getpocket.com/save?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-get-pocket fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://reddit.com/submit?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-reddit fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.stumbleupon.com/submit?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-stumbleupon fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://digg.com/submit?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&title=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-digg fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.tumblr.com/share/link?url=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&name=Git操作命令集锦&description=" target="_blank" rel="noopener"><i class="fab fa-tumblr fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://news.ycombinator.com/submitlink?u=http://yoursite.com/2017/08/18/Git%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4%E9%9B%86%E9%94%A6-PDF%E7%89%88/&t=Git操作命令集锦" target="_blank" rel="noopener"><i class="fab fa-hacker-news fa-lg" aria-hidden="true"></i></a></li>
</ul>

    </div>

    <div id="actions-footer">
        <a id="menu" class="icon" href="#" onclick="$('#nav-footer').toggle();return false;"><i class="fas fa-bars fa-lg" aria-hidden="true"></i> 菜单</a>
        <a id="toc" class="icon" href="#" onclick="$('#toc-footer').toggle();return false;"><i class="fas fa-list fa-lg" aria-hidden="true"></i> 目录</a>
        <a id="share" class="icon" href="#" onclick="$('#share-footer').toggle();return false;"><i class="fas fa-share-alt fa-lg" aria-hidden="true"></i> 分享</a>
        <a id="top" style="display:none" class="icon" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'fast');"><i class="fas fa-chevron-up fa-lg" aria-hidden="true"></i> 返回顶部</a>
    </div>

  </div>
</div>

        
        <footer id="footer">
  <div class="footer-left">
    Copyright &copy;
    
    
    2016-2020
    Sampson.Z
<img src="https://static.dy208.cn/o_1dfilp8ruo521thr1hvf18ji17soa.png">
<a href="http://www.beian.miit.gov.cn/"  style="color:#f72b07" target="_blank">粤ICP备19066509号</a>

  </div>
  <div class="footer-right">
    <nav>
      <ul>
         
          <li><a href="/">首页</a></li>
         
          <li><a href="/about/">关于</a></li>
         
          <li><a href="/archives/">归档</a></li>
         
          <li><a href="/projects-url">项目</a></li>
         
          <li><a href="/search/">搜索</a></li>
         
          <li><a href="/tags/">标签</a></li>
         
          <li><a href="/categories/">分类</a></li>
        
      </ul>
    </nav>
  </div>
</footer>

    </div>
    <!-- styles -->

<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">


<link rel="stylesheet" href="/lib/justified-gallery/css/justifiedGallery.min.css">


    <!-- jquery -->

<script src="/lib/jquery/jquery.min.js"></script>


<script src="/lib/justified-gallery/js/jquery.justifiedGallery.min.js"></script>

<!-- clipboard -->

  
<script src="/lib/clipboard/clipboard.min.js"></script>

  <script type="text/javascript">
  $(function() {
    // copy-btn HTML
    var btn = "<span class=\"btn-copy tooltipped tooltipped-sw\" aria-label=\"复制到粘贴板!\">";
    btn += '<i class="far fa-clone"></i>';
    btn += '</span>'; 
    // mount it!
    $(".highlight table").before(btn);
    var clip = new ClipboardJS('.btn-copy', {
      text: function(trigger) {
        return Array.from(trigger.nextElementSibling.querySelectorAll('.code')).reduce((str,it)=>str+it.innerText+'\n','')
      }
    });
    clip.on('success', function(e) {
      e.trigger.setAttribute('aria-label', "复制成功!");
      e.clearSelection();
    })
  })
  </script>


<script src="/js/main.js"></script>

<!-- search -->

<!-- Google Analytics -->

<!-- Baidu Analytics -->

<!-- Disqus Comments -->


</body>
</html>
